rejetto forum
Software => HFS ~ HTTP File Server => Topic started by: GiZ on December 22, 2008, 11:20:50 AM
-
Hi there,
After some reading, I can transfer a file from linux command line, to my windows machine running HFS.
However, the transfer completes, and the file is nowhere to be found.
So, for example, the file is: Fedora-10-i386-DVD.iso
On the linux box:
curl -F fileupload1=@Fedora-10-i386-DVD.iso -F press="Upload files" <URL>
Then, at the same time, in the HFS window, I get:
12:15:30 PM <IP ADDRESS>:40448 Upload failed, Folder not found: Fedora-10-i386-DVD.iso
12:15:30 PM <IP ADDRESS>:40448 Uploading Fedora-10-i386-DVD.iso
I've tried appending "folder=Incoming" to the form action for curl, but it made no difference.
Anybody able to assist?
-
Is your Uploadfolder a real folder?
-
Yes, it's a real folder.
Tested, and I can upload from a browser on another machine.
Unfortunately, my only available option, it to upload via HTTP from the linux box to the windows box.
-
Also, just to note, there's no username/password required on the folder at present.
-
Nevermind, this thread can be locked.
Found the solution in another thread:
http://www.rejetto.com/forum/index.php?topic=4877.0 (http://www.rejetto.com/forum/index.php?topic=4877.0)
So, the curl command that works, for me, is:
curl -F fileupload1=@Fedora-10-i386-DVD.iso -F press="Upload files" http://<IP ADDRESS>/<FOLDER>/