Search Results

Search: Posts Made By: dufftime
10,382
Posted By dufftime
Your code worked for me
I copy/pasted your code snippet into a new bash script, changed the username, password, testfile, and FTP server, then it ran just fine.

Try changing the first line to:
#!/bin/bash -xv

You can...
6
2,219
Posted By dufftime
Escape your double-quotes, or just avoid wrapping...
Escape your double-quotes, or just avoid wrapping double-quotes around your "echo" command ... they technically aren't required.

Shell sees you opening your quote after the echo, then assumes you...
45,029
Posted By dufftime
Sounds like you need HTTP POST's
I recently wrote a script to simulate some web transactions recently (not too different than yours), I had good luck following this tip from curl's website...
Showing results 1 to 3 of 3

 
All times are GMT -4. The time now is 11:29 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy