I have been using the smbget command to resume downloads if there is a network dropout...
e.g.
smbget -r smb://mysambaserver/path/to/file
Is there an equivalent for "uploading" files?
Neither "smbclient get" nor "smbcllient put" appear to have a resume option. I have checked google, but "smb put resume" appears just to list people uploading their resume!
Thanks.
There is no equivalent for uploading files, at least not as part of Samba itself.
Related
I am really new here. Can someone guide me to modify the SimpleFTPExample from Apple to upload multiple files. As in the example i can upload 1 image now.
Should I use threads? or any other way?
some examples are greatly appreciated!
SimpleFTPExample - https://developer.apple.com/library/ios/samplecode/SimpleFTPSample/Introduction/Intro.html
If like ftp, the -i argument disables interactive prompting during transfers of multiple files. Again, if like ftp, to transfer multiple files, after establishing a connection, you'd use mput or mget, and wildcards.
ftp -i ftp://remote.server.ftp
mput directory/*
mget remote_directory/*files.mp?
I am attempting to use Imagemagick to manipulate images that are uploaded by a user. Right now I have a simple set of Imagemagick.convert[ ] commands server side that preform a variety of tasks on the uploaded image. My problem comes from Imagemagick needing the file data to be read into meteor and not from a url. What I end up doing is writing the uploaded file to the /public folder where Imagemagick is able to manipulate the image. However because the list of Imagemagick.convert commands (saving and writing to /public), the application keeps refreshing, breaking up the processes and sending it into an infinite refreshing cycle. I don't think assets is a viable solution, but I need some folder that I can write to in meteor that will not interrupt the various Imagemagick processes through a refresh. I have tried the .folder for a hidden folder, but meteor gives me an error: "You can’t use a name that begins with a dot “.”, because these names are reserved for the system. Please choose another name." Any thoughts?
#Nate I wrote a little example app that solves this problem by using a temporary directory (as others have suggested):
https://github.com/ideaq/image-uploads
My solution gives you:
Easy image uploading in any Meteor app
Images are re-sized to Thumbnail, Mobile Optimised and Full-size Original
Images are uploaded to AWS S3 for CDN delivery (scalability and speed)
A thumbnail of the image is displayed on to the user without refreshing the page
if you found a better way of doing image uploads in meteor, please share! thanks. :-)
I have an upload panel in my seam application and I want to record this using Jmeter.
But this tool does not allow to upload the file whereas manually I can do that.
So any suggestion on how to do that?
Put the file in jmeter/bin folder and it should work.
You can use firefox for recording.
Why not to search first through jmeter-tagged questions?
Asked many times before.
Look into these:
JMeter - File upload and file download scenario
Jmeter Upload Error in Recording
I have a website where i upload a zip file and then the serverside decompresses it. i've since moved to amazons S3 service which does not allow such things as decompressing.
I'm wondering, is there a way to check or monitor the status of that zip file- and then run my model/method for pushing to s3? i'd like to run it immediately after it's decompressed- otherwise i'd try a cronjob or something.
The only conclusion i can think of right now is to output the files unzipped in my view. then selecting those files and submitting again to the method for uploading. but this seems cumbersome.
any thoughts on this?
I need to upload multiple files on my website.
But I need not just a form for uploading multiple files, I need to upload whole directories.
How's this possible for the minimalist?
Yours, Joern.
According to my somewhat limited knowledge this is not possible, only file transfer is possible, not directories.
Here are some workarounds, based on discussion on Velocity Reviews and another discussion:
upload a zip, which you unzip at the server side
upload directories over ftp (web page can be a front end to this)
upload files one by one
I would go either for zip or ftp. Note: someone might have produced a gem that enables uploading directories (I know nothing of such thing, but I will be happy to find out, if there is).
Adding another option to the list provided by Sorrow:
upload via REST/JSON
OK, this is a partial solution, but it does give you the opportunity to write a script that reads your directory and POSTS to your website.