x
Yes No
Do you want to visit DriveHQ English website?
Forum Index \ DriveHQ Customer Support Forum \
• mcfly007
• (4 posts)

Ok i know how to connect to the ftp via.

ftp

open ftp.drivehq.com 21

everytime i use put filepath\text.txt

it doesn't do anything? what am i doing wrong? any ideas?

9/2/2013 7:06:11 PM

• DriveHQSupport
• (442 posts)

Please provide the detailed information about the problem. Do you see any error message?

If not, I guess it is the very famous FTP problem - you need to use Passive FTP instead of Active FTP. Most routers block Active FTP. Passive FTP is rarely blocked.

You need to use a router that supports Active FTP, or you can use a different FTP client. Unfortunately, Microsoft command-line FTP client does not support Passive FTP. You need to use a GNU version FTP client, or any GUI-based FTP client, such as FileZilla.

Alternatively, you can use DriveHQ FileManager for automatic folder synchronization, or use our WebDAV drive mapping service, then use DOS command to copy files directly.

9/3/2013 11:13:14 AM

• mcfly007
• (4 posts)

@echo off
echo user mcfly007> ftpcmd.dat
echo bin>> ftpcmd.dat
echo put %1>> ftpcmd.dat
echo quit>> ftpcmd.dat
ftp -n -s:ftpcmd.dat ftp.drivehq.com 21
pause
del ftpcmd.dat

Transfers files to and from a computer running an FTP server service
(sometimes called a daemon). Ftp can be used interactively.

FTP [-v] [-d] [-i] [-n] [-g] [-s:filename] [-a] [-w:windowsize] [-A] [host

-v             Suppresses display of remote server responses.
-n             Suppresses auto-login upon initial connection.
-i             Turns off interactive prompting during multiple file
transfers.
-d             Enables debugging.
-g             Disables filename globbing (see GLOB command).
-s:filename    Specifies a text file containing FTP commands; the
commands will automatically run after FTP starts.
-a             Use any local interface when binding data connection.
-w:buffersize  Overrides the default transfer buffer size of 4096.
host           Specifies the host name or IP address of the remote
host to connect to.

Notes:
- mget and mput commands take y/n/q for yes/no/quit.
- Use Control-C to abort commands.
'mput' is not recognized as an internal or external command,
operable program or batch file.
Press any key to continue . . .

9/3/2013 11:30:39 AM

• mcfly007
• (4 posts)

@echo off cls ftp open ftp.drivehq.com 21 mcfly007 password cd wwwhome mput "C:\Documents and Settings\%username%\Desktop\,\test1\little devil v1.0\archive.rar" y i figured out the code now i just need to figure out how to make this a batch file. 

9/3/2013 2:46:51 PM

• mcfly007
• (4 posts)

in regular ftp mode i just type this.
how do i automate this to upload acrhive.rar to wwwhome?
ftp
open ftp.drivehq.com 21
mcfly007
helloworld
cd wwwhome
bin
hash
put "archive.rar"
bye

9/3/2013 4:45:15 PM

• DAPHNE MUHLBEIER
• (1 posts)

When I log on to Drive HQ, I no longer receive the option of Batch Upload when uploading files to drive hq, meaning each file has to be uploaded individually which is much more time consuming than the batch upload previously available.  The tab that said "Batch Upload" now says "Web Upload".  Do you know why, and how I can get "batch upload" back?

4/26/2017 3:07:13 PM

• DriveHQSupport_
• (442 posts)

Thanks for reaching out to us Daphne,

There is definitely no requirement to upload these one at a time. If you feel that you are seeing something contrary to what was explained above, please send us the steps to duplicate what you are experiencing. You can also feel free to reach out to us at support@drivehq.com if you would like to discuss this a bit more comprehensively.

Best,
DriveHQ Support
www.DriveHQ.com